from flask import Blueprint
from app.api.auth import auth_bp
from app.api.users import users_bp
from app.api.companies import companies_bp
from app.api.tableContent import detailTables_bp
from app.api.mainTables import mainTables_bp
from app.api.events import events_bp
from app.api.exponents import exponents_bp
from app.api.jinqiushu import detailTables2_bp

# 注册所有接口蓝图
def register_blueprints(app):
    app.register_blueprint(auth_bp)
    app.register_blueprint(users_bp)
    app.register_blueprint(companies_bp)
    app.register_blueprint(detailTables_bp)
    app.register_blueprint(mainTables_bp)
    app.register_blueprint(events_bp)
    app.register_blueprint(exponents_bp)
    app.register_blueprint(detailTables2_bp)


    # 未来添加新的接口文件后，在这里继续注册新的蓝图
    # app.register_blueprint(other_bp)
